# -*- coding: UTF-8 -*-

# @Time : 2020/8/14 16:23 

# @Author : litao

# @File : ResultUtil.py 
import json
class ResultVOUtil:
    @staticmethod
    def success():
        return {'static':1}
    @staticmethod
    def error(errorinfo):
        return {'static':1, 'errorinfo':errorinfo}

    @staticmethod
    def result(data):
        return data

    @staticmethod
    def obj(data):
        return json.dumps(data, ensure_ascii=False)